package com.uphone.kingmall.bean;

import com.uphone.kingmall.base.BaseBean;

import java.util.List;

/**
 * <pre>
 *     author : radish
 *     e-mail : 15703379121@163.com
 *     time   : 2019/3/22
 *     desc   :
 * </pre>
 */
public class HistoryGoodsBean extends BaseBean<HistoryGoodsBean.DataBean> {

    /**
     * current : 1
     * pages : 1
     * data : [{"footDate":"2019-02-21","dateFoots":[{"footId":6,"footTime":"2019-02-21","goodsId":1,"goodsMainImg":"http://localhost:8082/upload/images/goods/97e67d5a0d7d447483936fc5e00c9023.jpg","goodsName":"优质商品","goodsPrice":123,"goodsType":1,"goodsState":1},{"footId":5,"footTime":"2019-02-21","goodsId":3,"goodsMainImg":"http://localhost:8082/upload/images/goods/2e3f3cad023342858ae208a19deb810f.jpg","goodsName":"砍价测试","goodsPrice":500,"goodsType":4,"goodsState":1}]},{"footDate":"2019-02-14","dateFoots":[{"footId":3,"footTime":"2019-02-14","goodsId":1,"goodsMainImg":"http://localhost:8082/upload/images/goods/97e67d5a0d7d447483936fc5e00c9023.jpg","goodsName":"优质商品","goodsPrice":123,"goodsType":1,"goodsState":1},{"footId":2,"footTime":"2019-02-14","goodsId":3,"goodsMainImg":"http://localhost:8082/upload/images/goods/2e3f3cad023342858ae208a19deb810f.jpg","goodsName":"砍价测试","goodsPrice":500,"goodsType":4,"goodsState":1}]},{"footDate":"2019-01-24","dateFoots":[{"footId":1,"footTime":"2019-01-24","goodsId":1,"goodsMainImg":"http://localhost:8082/upload/images/goods/97e67d5a0d7d447483936fc5e00c9023.jpg","goodsName":"优质商品","goodsPrice":123,"goodsType":1,"goodsState":1}]},{"footDate":"2019-01-17","dateFoots":[{"footId":4,"footTime":"2019-01-17","goodsId":1,"goodsMainImg":"http://localhost:8082/upload/images/goods/97e67d5a0d7d447483936fc5e00c9023.jpg","goodsName":"优质商品","goodsPrice":123,"goodsType":1,"goodsState":1}]}]
     * count : 6
     * limit : 10
     */

    private int current;
    private int pages;
    private int count;
    private int limit;

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public static class DataBean extends BaseBean.DataBean {
        /**
         * footDate : 2019-02-21
         * dateFoots : [{"footId":6,"footTime":"2019-02-21","goodsId":1,"goodsMainImg":"http://localhost:8082/upload/images/goods/97e67d5a0d7d447483936fc5e00c9023.jpg","goodsName":"优质商品","goodsPrice":123,"goodsType":1,"goodsState":1},{"footId":5,"footTime":"2019-02-21","goodsId":3,"goodsMainImg":"http://localhost:8082/upload/images/goods/2e3f3cad023342858ae208a19deb810f.jpg","goodsName":"砍价测试","goodsPrice":500,"goodsType":4,"goodsState":1}]
         */

        private String footDate;
        private List<DateFootsBean> dateFoots;

        private boolean isSelect = false;

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }
        public String getFootDate() {
            return footDate;
        }

        public void setFootDate(String footDate) {
            this.footDate = footDate;
        }

        public List<DateFootsBean> getDateFoots() {
            return dateFoots;
        }

        public void setDateFoots(List<DateFootsBean> dateFoots) {
            this.dateFoots = dateFoots;
        }

        public static class DateFootsBean {
            /**
             * footId : 6
             * footTime : 2019-02-21
             * goodsId : 1
             * goodsMainImg : http://localhost:8082/upload/images/goods/97e67d5a0d7d447483936fc5e00c9023.jpg
             * goodsName : 优质商品
             * goodsPrice : 123
             * goodsType : 1
             * goodsState : 1
             */

            private int footId;
            private String footTime;
            private int goodsId;
            private String goodsMainImg;
            private String goodsName;
            private double goodsPrice;
            private int goodsType;
            private int goodsState;

            private boolean isSelect = false;

            public boolean isSelect() {
                return isSelect;
            }

            public void setSelect(boolean select) {
                isSelect = select;
            }

            public int getFootId() {
                return footId;
            }

            public void setFootId(int footId) {
                this.footId = footId;
            }

            public String getFootTime() {
                return footTime;
            }

            public void setFootTime(String footTime) {
                this.footTime = footTime;
            }

            public int getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(int goodsId) {
                this.goodsId = goodsId;
            }

            public String getGoodsMainImg() {
                return goodsMainImg;
            }

            public void setGoodsMainImg(String goodsMainImg) {
                this.goodsMainImg = goodsMainImg;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public double getGoodsPrice() {
                return goodsPrice;
            }

            public void setGoodsPrice(double goodsPrice) {
                this.goodsPrice = goodsPrice;
            }

            public int getGoodsType() {
                return goodsType;
            }

            public void setGoodsType(int goodsType) {
                this.goodsType = goodsType;
            }

            public int getGoodsState() {
                return goodsState;
            }

            public void setGoodsState(int goodsState) {
                this.goodsState = goodsState;
            }
        }
    }
}
